<include file="./header"   title="列表"/>
<script charset="utf-8" src="http://map.qq.com/api/js?v=2.exp&key=SM6BZ-VSA3U-FGRVQ-4422L-Q6ID2-GCFIV"></script>
<!-- content start -->
<div class="admin-content">
    <!--
    <div class="am-cf am-padding">
        <div class="am-btn-group am-btn-group-xs">
            <button type="button" class="am-btn am-btn-default" onclick="location.href='{:U('Master/add')}'"><span class="am-icon-plus"></span> 新增</button>
        </div>
    </div>-->

    <div class="am-g">
        <div class="am-u-sm-12">
            <form class="am-form">
                <table class="am-table am-table-striped am-table-hover table-main">
                    <thead>
                        <tr>
                            <th class="table-productid">车牌号</th>
                            <th class="table-brand">品牌</th>
                            <th class="table-truename">卖家</th>
                            <th class="table-mobile">手机号</th>
                            <th class="table-status">状态</th>
                            <th class="table-note am-hide-sm-only">卖家备注</th>
                        </tr>
                    </thead>
                    <tbody>
                    <foreach name="product" item="val">
                        <tr title="{$val.id}">
                            <td>{$val.productid}</td>
                            <td>{$val.brand}</td>
                            <td>{$val.truename}</td>
                            <td>{$val.mobile}</td>
                            <if condition="$val.status eq 0">
                                <td>待审核</td>
                                <elseif condition="$val.status eq 1"/>
                                <td>已完成</td>
                            </if> 
                            <td class="am-hide-sm-only">{$val.note}</td>
                         </tr>
                    </foreach>

                    </tbody>
                </table>
                <div class="am-cf">
                    共 {$count} 条记录
                    <div class="am-fr">
                        <ul class="am-pagination">
                            {$page}
                        </ul>
                    </div>
                </div>
                <hr />
                <p>注：.....</p>
            </form>
        </div>

    </div>
</div>
<!-- content end -->
<include file="./footer" />